#pragma once

#include "stdafx.h"
#using <System.dll>

using namespace System;
using namespace System::IO;
using namespace System::Net;
using namespace System::Net::Sockets;
using namespace System::Text;
using namespace System::Threading;

ref class TcpManager
{
public:
	TcpManager(void);
	void Connect(String^ server, Int32 port);
	void SendFrame();
	void Disconnect();
private:
	TcpClient^ client;
	NetworkStream^ stream;
};
